
#ifndef MAINDOCUMENT_H_
#define MAINDOCUMENT_H_

#include <wx/wx.h>
#include <wx/docview.h>

class MainDocument : public wxDocument
{
    DECLARE_DYNAMIC_CLASS( MainDocument )

public:
    MainDocument(void);

    virtual bool OnSaveDocument( const wxString& filename );
    virtual bool OnOpenDocument( const wxString& filename );
    virtual bool OnNewDocument();
    virtual bool OnCloseDocument();
    virtual bool IsModified() const;
    virtual void Modify( bool mod );
};

#endif  // MAINDOCUMENT_H_
